package com.atguigu.mapper;

import com.atguigu.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @program:weiblog-server
 * @author: 马雨清
 * @Time: 2023/8/21  14:27
 * @description:
 */
@Mapper
public interface UserMapper {
    User loginUser(String username);

    User selectById(Integer id);

    Integer updateUser(@Param("user") User user);
}
